const http = require('http');
const serverHanlder= require('../app');
const port = 3000;

const app = http.createServer((req, res) => {
    serverHanlder(req, res);
});

app.listen(port, () => console.log('Now server is listening in port 3000.'));
